import os
env = Environment(CCFLAGS = os.ccflags, CC = os.cc, CXX = os.cxx, AR = os.ar, LD = os.ld);


env['CPPPATH'] = os.baijiInclude + [os.mkl + 'include','/usr/include/lua5.1', '#/include/utils/meshUtils', '/usr/include', '/usr/include/SDL', './include', '/usr/include/qt4']
env.ParseConfig('glib-config --cflags --libs')

femFiles = Split("""
				src/tetgenParser.cpp
				src/objParser.cpp
				src/parserHelper.cpp
				src/meshType.cpp
				src/meshTools.cpp
				""")

meshUtils = env.StaticLibrary('libmeshutils', femFiles)
env.Install('#/lib', meshUtils)
